
<!DOCTYPE html>
<html lang="en" class="no-js">

<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="description" content="">
	<meta name="keywords" content="">
	<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
	<link rel="stylesheet" href="/Public/static/css/amazeui.min.css?v=2">
	<link rel="stylesheet" href="/Public/static/css/app.css">
	<link rel="stylesheet" href="/Public/static/css/all.css">
	<title></title>
	<link rel="stylesheet" href="/Public/static/css/common.css">
	<link rel="stylesheet" href="/Public/static/css/iindex.css">

	<style>
		html,
		body {
		    
			background: #ffffff;
			height: 100%;
		}
	</style>
</head>

<body id="sy">
	<div class="no_attestation ">
		<div data-am-sticky="" class="am-g fixed_top" style="font-size: 20px;line-height:300%;text-align:center;">
			<div class="am-u-sm-2">
				&nbsp;
			</div>
			<div class="am-u-sm-8">
				<b class="website_name">
					<config name="siteName" /> </b>
			</div>
			<div class="am-u-sm-2">
				<i class="fas fa-envelope-open-text"></i>
			</div>

		</div>

		<div class="am-g" style="text-align: center; padding: 20px 0 25px;">
		  <php>if(C("indexMarquee")){</php>
			<marquee width=400 scrollamount=2><FONT face=楷体_GB2312 color=#ff0000 size=3><STRONG>{:C("indexMarquee")}</marquee>
		<php>}</php>
		
			<samll class="other_txt">预估可借额度(元)</samll><br>
			<php>$money=number_format(C("Money_MAX"));</php>
			<span class="f_number quota">{$money}</span><br>
			<samll class="other_txt">①填写资料&nbsp;②申请借款&nbsp;③极速放款</samll>

		</div>

		<div class="am-g">
			<div class="am-u-sm-7 am-u-sm-centered">
				<form action="" method="post">
				    
					<button type="button" class="am-btn"
							onclick="location.href='{:U('Index/jiekuang')}'">立即去借款</button>
						
										</form>
			</div>
		</div>


<php>
    $setp=intval((time()-1587134301)/60);
    $userNum=number_format(1801233+$setp);
    $setp=intval((time()-1587134301)/180)*13215;
     $dd= 20000000+$setp+((20000000+$setp)/20);
    $userMoney=number_format(20000000+$setp);

 
    $userMoney1=number_format($dd);
</php>

	</div>
	<div class="ts ts_1">
		<div class="ts_box">
			<div>
				已加入 <br>
				<span class="number_style estimate_1">{$userNum}</span>&nbsp;人
			</div>
			<div style="height: 10px; width: 1px;"></div>
			<div>
				已借出 <br>
				<span class="number_style estimate_2">{$userMoney}</span>&nbsp;元
			</div>
		</div>
	</div>
	<div class="ts ts_2">
		<div class="ts_box">
			<h2 style="
				font-size: 200%;
				letter-spacing: 5px;
			">
					<config name="siteName" />			</h2>
			<div style="
				/* height: 100%; */
				position: absolute;
				bottom: 25px;
			">
				<span class="number_style estimate_3">{$userMoney1}</span><br>
				累计交易额(元)
			</div>
			<div style="height: 10px; width: 1px;"></div>

		</div>
	</div>
 
<div class="icp">
		<config name="siteCorporate" /> 浙B2-20100257-4</br>贷款有风险，借款需谨慎。理性消费，避免逾期。 </div>

	<!-- 新人优惠券 -->
		
<div class="icp">
		&nbsp; </div>
	<div class="message">
		<p></p>
	</div>


<include file="Public/foot_index" />

	<!--	<div id="kefu"></div>-->
	<script type="text/javascript">
		document.documentElement.addEventListener('touchmove', function (event) {
			if (event.touches.length > 1) {
				event.preventDefault();
			}
		}, false);
	</script>
	<script src="/Public/static/js/jquery3.2.min.js"></script>
	<!--<![endif]-->
	<script src="/Public/static/js/amazeui.min.js"></script>

	<script>

		$("#sy #bm-nav .nva_sy a img").attr('src', '/Public/static/picture/2-2.png');

		$(".ts").height($(".ts").width() / 1.7);

		$(window).resize(function () {
			$(".ts").height($(".ts").width() / 1.7);
		});

		$(window).scroll(function () {
			var x = $('.no_attestation').offset().top - $(window).scrollTop();

			if (x != 0) {
				$(".fixed_top").css('background', 'rgba(255,255,255,0.9)');
			} else {
				$(".fixed_top").css('background', 'none');
			}
			// console.log(x);
		});
		function closeDiscount() {
			document.getElementById('cop').remove();
		}
		

	</script>

	<script type="text/javascript" src="/Public/static/js/iindex.js"></script>
	<div id="kefu"></div>
	<script>
			$("#cop_btn").unbind('click').on('click', function () {
				mesg_default();
				
				
				$.ajax({
                    url:"/index.php?m=Index&a=discount",
                    type:"post",
                    dataType:'json',
					data: {
						month:6,
						day:60					},
                    success:function(data){
						if(data.status == '0'){
							message(data.msg);
							return false;
						}else if(data.status == '-1'){
							message(data.msg); 
							setTimeout(function(){
									window.location.href='/index.php?m=User&a=login'; 
							}, 1500);
							return false;
						}
						message(data.msg);
						$('#cop').remove();
                    },
                    error:function (){
                        message('服务器出现了一个错误!');
                    }
                });
			})
	</script>
	
 
	
	
</body>

</html>